import request from '@/utils/request'

export function getResourceList() {
    return request({
        url: '/web/resources/list',
        method: 'get'
    })
}
export function addResource(data) {
    return request({
        url: '/web/resource/addition',
        method: 'post',
        params: data
    })
}